package com.zhong.gang.applib.modle;

import java.util.List;

public class ListBean <T>{

    /**
     * records : [{"id":2,"createTime":"2020-01-06T02:28:16.000+0000","updateTime":"2020-01-06T02:28:16.000+0000","version":0,"deleted":false,"createTimestamp":1578277696000,"updateTimestamp":1578277696000,"type":1,"startLocal":"2","endLocalId":11,"distance":50,"transportCarId":1,"price":1000,"sn":"","qr":"","payStatus":false,"payAmount":0,"carNum":"京A88899","carTypeName":"拖斗车","endLocal":"沙坪坝料场1"},{"id":1,"createTime":"2019-12-21T16:33:05.000+0000","updateTime":"2019-12-21T16:33:05.000+0000","version":0,"deleted":true,"createTimestamp":1576945985000,"updateTimestamp":1576945985000,"type":0,"startLocal":"江北观音桥远东百货","endLocalId":2,"distance":100,"transportCarId":1,"price":8,"sn":"","qr":"","payStatus":false,"payAmount":0,"carNum":"京A88899","carTypeName":"拖斗车","endLocal":"渝北料场"}]
     * total : 2
     * size : 10
     * current : 1
     * orders : []
     * searchCount : true
     * pages : 1
     */

    private int total;
    private int size;
    private int current;
    private boolean searchCount;
    private int pages;
    private List<T> records;


    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

}
